package com.www.applyword.adapter;

import android.content.Context;

import com.classic.adapter.BaseAdapterHelper;
import com.classic.adapter.CommonRecyclerAdapter;
import com.www.applyword.R;
import com.www.applyword.bean.ChoiceBean;
import com.www.applyword.utils.ImageUtil;

/**
 * author : huang
 * date   : 2020/7/30 0030 9:19
 * version: 1.0
 */
public class ChoicenessAdapter2 extends CommonRecyclerAdapter<ChoiceBean.DataBean.ResultsBean> {
    public ChoicenessAdapter2(Context context) {
        super(context, R.layout.item_list_hot_job);
    }

    @Override
    public void onUpdate(BaseAdapterHelper helper, ChoiceBean.DataBean.ResultsBean item, int position) {
        helper.setText(R.id.tv_Order_PositionName, item.getTitle());
        helper.setText(R.id.tv_Order_WorkAddress, item.jobTagFormList.get(1).value);
        helper.setText(R.id.tv_Order_BusinessName, item.jobTagFormList.get(0).value);
        helper.setText(R.id.tv_Order_Salary, item.salary);
    }
}
